﻿<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Xóa', true), array('action' => 'delete', $form->value('Huyen.id')), null, sprintf(__('Bạn thật sự muốn xóa: %s?', true), $form->value('Huyen.TEN_H'))); ?></li>
		<li><?php echo $html->link(__('Danh sách huyện', true), array('action' => 'index', $huyen['Huyen']['tinh_id']));?></li>
	</ul>
</div>
<div class="view">
<?php echo $form->create('Huyen');?>

	<fieldset>
 		<legend><?php __('Sửa huyện');?></legend>
	<?php
		//echo 'Tinh:'.$huyen['Huyen']['tinh_id']. ' Huyen '.$huyen['Huyen']['id'];
		echo $form->hidden('tinh_id',array('value'=>$huyen['Huyen']['tinh_id']));
          echo $form->hidden('date_sua',array('value'=>date('Y-m-d-h-m-s'))); 
		echo $form->hidden('id',array('value'=>$huyen['Huyen']['id']));
		echo $form->input('TEN_H',array('label'=>'Tên huyện','type'=>'text', 'div'=>false));
	?>
	</fieldset>
<?php echo $form->end('Lưu');?>
</div>

